<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <style>
        .c1{
            border: 1px solid red;
            border-radius: 5px;
            height: 100px;
        }
    </style>
</head>
<body>
<div id="app">
    <el-row>
        <el-col span="12"><div class="c1"></div></el-col>
        <el-col span="12"><div class="c1"></div></el-col>
    </el-row>
    <!--gutter:设置分栏间隔-->
    <el-row :gutter="20">
        <el-col span="8"><div class="c1"></div></el-col>
        <el-col span="8"><div class="c1"></div></el-col>
        <el-col span="8"><div class="c1"></div></el-col>
    </el-row>

    <h1>1:3</h1>
    <el-row :gutter="20">
        <el-col span="6"><div class="c1"></div></el-col>
        <el-col span="18"><div class="c1"></div></el-col>
    </el-row>

    <h1>1:2:3</h1>
    <el-row :gutter="30" style="width:1200px;margin: 0 auto">
        <el-col span="4"><div class="c1"></div></el-col>
        <el-col span="8"><div class="c1"></div></el-col>
        <el-col span="12"><div class="c1"></div></el-col>
    </el-row>

</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    let v=new Vue({
        el: '#app',
        data: function() {
            return {}
        }
    })


</script>
</html>